package com.itcast.security.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itcast.common.model.dto.response.CheckGroupListResDTO;
import com.itcast.common.model.dto.response.CheckGroupResDTO;
import com.itcast.security.model.Checkgroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CheckGroupMapper extends BaseMapper<Checkgroup> {


    /**
     * 分页查询数据
     */
    List<CheckGroupResDTO> queryList(@Param("checkGroupName") String name);

    List<CheckGroupListResDTO> queryCheckList(Integer groupStatus);


}